package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 仓库订单详情对象 warehouse_order_info
 * 
 * @author ruoyi
 * @date 2025-01-19
 */
public class WarehouseOrderInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 仓库订单ID */
    @Excel(name = "仓库订单ID")
    private Long warehouseOrderId;

    /** 产品ID */
    @Excel(name = "产品ID")
    private Long productId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productCode;

    /** 批次号 */
    @Excel(name = "批次号")
    private String batch;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 数量 */
    @Excel(name = "数量")
    private Long num;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal totalPrice;

    /** 仓库位置ID */
    @Excel(name = "仓库位置ID")
    private Long warehousePositionId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWarehouseOrderId(Long warehouseOrderId) 
    {
        this.warehouseOrderId = warehouseOrderId;
    }

    public Long getWarehouseOrderId() 
    {
        return warehouseOrderId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setBatch(String batch) 
    {
        this.batch = batch;
    }

    public String getBatch() 
    {
        return batch;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setTotalPrice(BigDecimal totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice() 
    {
        return totalPrice;
    }
    public void setWarehousePositionId(Long warehousePositionId) 
    {
        this.warehousePositionId = warehousePositionId;
    }

    public Long getWarehousePositionId() 
    {
        return warehousePositionId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("warehouseOrderId", getWarehouseOrderId())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("productCode", getProductCode())
            .append("batch", getBatch())
            .append("price", getPrice())
            .append("num", getNum())
            .append("totalPrice", getTotalPrice())
            .append("warehousePositionId", getWarehousePositionId())
            .toString();
    }
}
